/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.epsi.bowling.business;

import com.epsi.bowling.core.bo.Reservation;
import com.epsi.bowling.data.dao.ReservationDAO;

/**
 *
 * @author juju
 */
public class ReservationBusiness {
    public void faireReservation(String date, int nbParticipant, String nom) {
        ReservationDAO rDAO = new ReservationDAO();
        Reservation r=new Reservation();
        r.setDateReservation(date);
        r.setEstValid(0);
        r.setNbParticipant(nbParticipant);
        r.setNomReservation(nom);
    }
}
